package org.example.seata.common.security.config.resource;

import org.springframework.context.annotation.Import;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启资源服务器
 *
 * @author hzq
 * @date 2021/12/8 15:43
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableResourceServer
@Import({CustomResourceServerConfiguration.class})
public @interface EnableCustomResourceServer {

}
